<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta
      http-equiv="X-UA-Compatible"
      content="IE=edge" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1.0" />
    <title>zhurs-toolset</title>
  </head>
  <body></body>
  <script src="../dist/dev/iife/index.js"></script>
  <script>
    const { assertionType, deepAssign, deviceInfo, isString, timeSlice } =
      this['zhurs-toolset']

    console.log('assertionType: ', assertionType(1))

    console.log(
      'deepAssign: ',
      deepAssign(
        {
          v: 1,
          obj: { v: 2, a: 1, b: 'xx', f: 00, obj: { a: 1 } },
          arr: [1, 2],
        },
        { v: 2 },
        { v: 1, obj: { v: 3, b: 1, g: 1, obj: { a: 'ff' } } },
        { ss: 33, arr: 1, obj: {} },
        { fun: () => {} }
      )
    )

    console.log('deviceInfo', deviceInfo())

    console.log('timeSlice: ', timeSlice())
  </script>
</html>
